package com.ynding.cloud.auth.api.admin.domain;

import com.ynding.cloud.auth.api.admin.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author ynding
 */
@Data
@ApiModel(value = "Menu", description = "菜单")
public class MenuDO implements Serializable {
    private static final long serialVersionUID = -1734136528942314069L;

    @ApiModelProperty(name = "id", notes = "ID", dataType = "long")
    private Long id;

    private String url;
    private String path;
    private String component;
    private String name;
    private String iconCls;
    private Integer keepAlive;
    private Integer requireAuth;
    private Integer parentId;
    private Integer enabled;

    private List<Role> roles;
}
